﻿using SportsPlatform.BaseModels;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SportsPlatform.Model.SportBusiness
{
    /// <summary>
    /// 订单操作记录
    /// </summary>
    [Table("T_B_PaymentOrderOperationInfo")]
    public class PaymentOrderOperationInfo : BaseModel
    {
        /// <summary>
        /// 支付订单ID
        /// </summary>
        public Guid PaymentOrderID { get; set; }

        /// <summary>
        /// 报名表ID
        /// </summary>
        public Guid RegistrationID { get; set; }

        /// <summary>
        /// 操作用户
        /// </summary>
        public string OperationName { get; set; }

        /// <summary>
        /// 订单状态
        /// </summary>
        public int OrderState { get; set; }

        /// <summary>
        /// 付款状态
        /// </summary>
        public int PaymentState { get; set; }

        /// <summary>
        /// 操作详情
        /// </summary>
        [Column(TypeName = "text")]
        public string OperationDetails { get; set; }

        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime OperationTime { get; set; }
    }
}
